class TransactionType {
  final String name;
  final String key;

  const TransactionType({this.name, this.key});


  factory TransactionType.fromJson(Map map)=>
      TransactionType(
        name: map['name'], key: map['key'],);


  Map toJson() {
    return {
      'name': name,
      'key': key,
    };
  }
}
